import React from 'react'
import * as PopperJS from '@popperjs/core'

export const DropdownContext = React.createContext({})

export interface DropdownContextType {
  toggle: (e: any) => void
  isOpen: boolean
  direction: PopperJS.Placement
  disabled: boolean
  containerRef: any
  id: string
}
